Skip to main content

GetBucketAcl

Description

GetBucketACL is used to obtain access to a Bucket.

Request Method

POST

Request Path

/apsara/route/OneRouter/GetBucketAcl

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
AccessControlListBODYcontainerNoNo sample value for this parameter.container for storing ACL information.
GrantBODYenumeration stringNoNo sample value for this parameter.bucket ACL permissions. valid values: private, public-read, public-read-write
AccessControlPolicyBODYcontainerNoNo sample value for this parameter.container for holding GetBucketACL results.
OwnerBODYcontainerNoNo sample value for this parameter.container for storing bucket owner information.
regionIdBODYstringYesNo sample value for this parameter.region id
DisplayNameBODYstringNoNo sample value for this parameter.the name of the bucket owner (currently the same as the id).
IDBODYstringNoNo sample value for this parameter.the user ID of the bucket owner.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}